<%@ page import="bean.UserBean" %>
<%@ page import="org.apache.catalina.User" %><%--
  Created by IntelliJ IDEA.
  User: JAVA
  Date: 2018/6/3
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>


<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>javabean</title>
</head>
<body>
<%
    UserBean user=new UserBean();
    User.setUserName("李磊");

%>
<h2>javabean 示例！</h2>
<p>bean中username属性值为：<%=user.getUserName()%>
</body>
</html>
